Designing Robots With Hall-Effect Sensors